Modular Verification of SRT Division
نویسندگان
چکیده
We describe a formal speciication and veriication in PVS for the general theory of SRT division, and for the hardware design of a spe-ciic implementation. The speciication demonstrates how attributes of the PVS language (in particular, predicate subtypes) allow the general theory to be developed in a readable manner that is similar to textbook presentations, while the PVS table construct allows direct speciication of the implementation's quotient look-up table. Veriication of the derivations in the SRT theory and for the data path and look-up table of the implementation are highly automated and performed for arbitrary, but nite precision; in addition, the theory is veriied for general radix, while the implementation is specialized to radix 4. The eeectiveness of the automation derives from PVS's tight integration of rewriting with decision procedures for equality, linear arithmetic over integers and rationals, and propositional logic. This example demonstrates that the resources of an expressive speciication language and of a general-purpose theorem prover are not inimical to highly automated veriication in this domain, and can contribute to clarity, generality, and reuse.
منابع مشابه
Mechanizing Verification of Arithmetic Circuits: SRT Division
The use of a rewrite-based theorem prover for verifying properties of arithmetic circuits is discussed. A prover such as Rewrite Rule Laboratory (RRL) can be used eeectively for establishing number-theoretic properties of adders, multipliers and dividers. Since veriication of adders and multipliers has been discussed elsewhere in earlier papers, the focus in this paper is on a divider circuit. ...
متن کاملA Hardware Organization of High-Radix Modular Multiplication for RSA Cryptosystem
Hardware organized modular multiplication based on division algorithm is one of the effective methods used for RSA encryption/decryption. This paper generalizes the hardware organization of the modular multiplication based on the higher-radix SRT division algorithm, and describes the area/time trade-off of the organization. For the number representation we used the signed-digit number system an...
متن کاملModular Veriication of Srt Division *
We describe a formal speciication and mechanized veriication in PVS of the general theory of SRT division along with a speciic hardware realization of the algorithm. The speciica-tion demonstrates how attributes of the PVS language (in particular, predicate subtypes) allow the general theory to be developed in a readable manner that is similar to textbook presentations, while the PVS table cons...
متن کاملSRT Division Algorithms as Dynamical Systems
Sweeney–Robertson–Tocher (SRT) division, as it was discovered in the late 1950s, represented an important improvement in the speed of division algorithms for computers at the time. A variant of SRT division is still commonly implemented in computers today. Although some bounds on the performance of the original SRT division method were obtained, a great many questions remained unanswered. In th...
متن کاملFast low-power shared division and square-root architecture
This paper addresses a fast low-power implementation of a shared division and square-root architecture. Two approaches are considered in this paper; these include the SRT (Sweeney, Robertson and Tocher) approach which does not require prescaling and the GST (generalized Svoboda and Tung) approach which requires prescaling of the operands. This paper makes two important contributions. Although S...
متن کامل